import cn.jja8.config.tool.YamlConfig;
import com.google.common.collect.ImmutableBiMap;

import java.io.File;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class test3 {
    @Retention(RetentionPolicy.RUNTIME)
    public @interface Config {}

   @Config static Map<File, List<File>> map = ImmutableBiMap.of(
           new File("aaa.c"), Arrays.asList(new File("aaa.aaa"),new File("bb.ccc"))
   );

    public static void main(String[] args) {
        new YamlConfig()
                .setAnnotationClass(Config.class)
                .load(new File("test3.yml"))
                .as(test3.class)
                .save(new File("test3.yml"));
        System.out.println(map);
    }
}
